package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.entity.AboutUsBanner;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author linxz
 * @since 2025-01-07
 */
public interface AboutUsBannerMapper extends BaseMapper<AboutUsBanner> {

    List<AboutUsBanner> getList();

    int add(AboutUsBanner aboutUsBanner);

    int update(AboutUsBanner aboutUsBanner);

    int delete(@Param("id")int id);

    List<String> getSectionList();

    List<Integer> getBannerIdList(@Param("sectionName")String sectionName);

}
